package com.yyz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yyz.domain.Dish;
import com.yyz.dto.DishDto;

import java.util.List;

/**
 * @author yyz
 * @create 2023-07-20 22:12
 */
public interface DishService {
    Integer count(Long ids);

    void insert(DishDto dishDto);

    IPage<DishDto> pageList(Integer page, Integer pageSize, String name);

    Dish selectById(Long ids);

    void update(DishDto dishDto);

    void delete(Long[] ids);

    void status(Integer status, Long[] ids);

    List<DishDto> list(Long categoryId);
}
